//
//  SMFDistributionManager.h
//  SMFDistribution
//
//  Created by ZhouYou on 2022/9/20.
//

#import <SMFManager/SMFManager.h>
#import "SMFDistributionMessage.h"

typedef void(^SMFDistributionCompleteHander)(BOOL updated);

typedef void(^SMFDistributionHander)(SMFDistributionMessage * _Nullable message, SMFDistributionCompleteHander _Nullable completeHander);

NS_ASSUME_NONNULL_BEGIN

@interface SMFDistributionManager : SMFPlugin

+ (instancetype)instance;

- (void)start;

- (void)setDistributionMessageHander:(SMFDistributionHander)hander;

@end

NS_ASSUME_NONNULL_END
